package zirao.base.widget;

import android.content.Context;
import android.support.annotation.Nullable;
import android.util.AttributeSet;

import zirao.base.manager.FontManager;

/**
 * Created by ${lixiaonan} on 2017/12/26.
 */
public class IconView extends android.support.v7.widget.AppCompatTextView {
    public IconView(Context context) {
        super(context);
        init();
    }

    public IconView(Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
        init();
    }

    public IconView(Context context, @Nullable AttributeSet attrs, int defStyleAttr) {
        super(context, attrs, defStyleAttr);
        init();
    }

    private void init(){
        FontManager.getInstance().markAsIconContainer(this);
    }
}
